package com.hlw.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.service.IService;
import com.hlw.entity.Menu;

/**
 * <p>
 * 菜单表 服务类
 * </p>
 *
 * @author Mht
 * @since 2020-05-02
 */
public interface IMenuService  {
	
    public Map<String,Object> findMenu();
    
    public List<Menu> findAll();
    
    public Menu findMenuById(String id);
    
    public Integer delById(Integer id);
    
    /* 查询角色在中间表的权限*/
	List<Menu> findPerByRid(@Param("rid")Integer rid);
	
	public Integer addPerByRid(Integer rid,Integer mid);
	  


}
